package com.bykj.property.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bykj.property.controller.vo.request.NewsSendMPmVillagePageRequest;

import com.bykj.property.model.NewsSendMPmVillage;
import com.bykj.property.mapper.NewsSendMPmVillageMapper;
import com.bykj.property.model.PmVillage;
import com.bykj.property.service.NewsSendMPmVillageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
    import java.util.List;
/**
* <p>
    * 信息小区关联表 服务实现类
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
@Service
public class NewsSendMPmVillageServiceImpl extends ServiceImpl<NewsSendMPmVillageMapper, NewsSendMPmVillage> implements NewsSendMPmVillageService {
@Autowired
private NewsSendMPmVillageMapper mapper;
@Override
public Page<NewsSendMPmVillage> queryPage(NewsSendMPmVillagePageRequest pageRequest) {

    return mapper.queryPage(pageRequest);
    }
@Override
public List<NewsSendMPmVillage> queryList(NewsSendMPmVillage model) {
    return mapper.queryList(model);
    }

    @Override
    public List<PmVillage> queryIsContain(Long newsSendId) {
        return mapper.queryIsContain(newsSendId);
    }


}